import { FC } from "react"

import TextInput from "../textInput"

const IPLocationInput: FC<any> = props => {
	const { fieldName = "ipLocation", rules, inputProps } = props
	return (
		<TextInput
			fieldName={fieldName}
			labelId="label.ip_location"
			placeholderId="label.please_enter"
			rules={rules}
			{...inputProps}
		/>
	)
}

export default IPLocationInput
